/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.guidance.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.guidance.entity.JpContent;
import com.jeeplus.modules.guidance.mapper.JpContentMapper;

/**
 * 内容Service
 * @author 姜盼
 * @version 2020-09-16
 */
@Service
@Transactional(readOnly = true)
public class JpContentService extends CrudService<JpContentMapper, JpContent> {

	public JpContent get(String id) {
		return super.get(id);
	}
	
	public List<JpContent> findList(JpContent jpContent) {
		return super.findList(jpContent);
	}
	
	public Page<JpContent> findPage(Page<JpContent> page, JpContent jpContent) {
		return super.findPage(page, jpContent);
	}
	
	@Transactional(readOnly = false)
	public void save(JpContent jpContent) {
		super.save(jpContent);
	}
	
	@Transactional(readOnly = false)
	public void delete(JpContent jpContent) {
		super.delete(jpContent);
	}
	
}